<?php /* Smarty version Smarty-3.1.18, created on 2017-05-24 15:14:25
         compiled from "/data/www/mystery/protected/views/benchmark/view.tpl" */ ?>
<?php /*%%SmartyHeaderCode:8159722754bfb756255fc4-28511559%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4865f25d9ba1aa26033706433f78e116387a04fc' => 
    array (
      0 => '/data/www/mystery/protected/views/benchmark/view.tpl',
      1 => 1494904490,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '8159722754bfb756255fc4-28511559',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54bfb75632aa94_12367315',
  'variables' => 
  array (
    'is_submit' => 0,
    'question_info' => 0,
    'netquestion_info' => 0,
    'network_info' => 0,
    'up_network_info' => 0,
    'basic_list' => 0,
    'val' => 0,
    'answer_list' => 0,
    'classify_list' => 0,
    'parent_val' => 0,
    'second_val' => 0,
    'classify_val' => 0,
    'benchmark_list' => 0,
    'level' => 0,
    'subject_list' => 0,
    'subject_val' => 0,
    'option_list' => 0,
    'option_key' => 0,
    'option_val' => 0,
    'attach_list' => 0,
    'nq_id' => 0,
    'manage_list' => 0,
    'level_auth' => 0,
    'audit' => 0,
    'subject_id' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54bfb75632aa94_12367315')) {function content_54bfb75632aa94_12367315($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('../common/head.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<script language="javascript">
<?php if ($_smarty_tpl->tpl_vars['is_submit']->value) {?>
var thisPage=false;
<?php } else { ?>
var thisPage=false;
<?php }?>
//$(window).bind('beforeunload',function(){
  //  if (thisPage) {
  //      return '请确认您所填写的信息，一旦提交将不可再次编辑';
  //  } 
//});
</script>
<div class="main w1060">
	<div class="biaoge">   
        <div class="fudong1"><input type="button" class="button" value="观看扣分指标" onclick="show_koufen();"/><br/><input type="button" class="button" value="观看全部指标" onclick="show_all();"/></div>
	<h2 class="wjtit"><?php echo $_smarty_tpl->tpl_vars['question_info']->value['question_name'];?>
</h2>
	<p class="wjbh"><label>问卷编号</label><?php echo $_smarty_tpl->tpl_vars['question_info']->value['identifier'];?>
</p>
	<table width="100%" border="0" cellspacing="0">
	  <!--可能和回答里有重复<tr>
		<td width="10%">网点名称:</td>
		<td width="18%"><span class="wjbh"><?php echo $_smarty_tpl->tpl_vars['netquestion_info']->value['network_name'];?>
</span></td>
		<td width="7%">网点编号:<br /></td>
		<td width="18%"><span class="wjbh"><?php echo $_smarty_tpl->tpl_vars['network_info']->value['network_num'];?>
</span></td>
		<?php if ($_smarty_tpl->tpl_vars['up_network_info']->value) {?>
                <td width="9%">所属分行:</td>
		<td width="18%"><span class="wjbh"><?php echo $_smarty_tpl->tpl_vars['up_network_info']->value['network_name'];?>
</span></td>
		<td width="6%">分行编号:</td>
		<td width="14%"><span class="wjbh"><?php echo $_smarty_tpl->tpl_vars['up_network_info']->value['network_num'];?>
</span></td>
                <?php }?>
	  </tr>-->
          <?php if ($_smarty_tpl->tpl_vars['basic_list']->value) {?>
          <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['basic_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
	  <tr>
		<td colspan="2"><?php echo $_smarty_tpl->tpl_vars['val']->value['title'];?>
:</td>
		<td colspan="6"><span class="wjbh"><?php echo $_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['val']->value['subject_id']]['answer_desc'];?>
</span></td>
	  </tr>
          <?php } ?>
          <?php }?>
	</table>
        <?php  $_smarty_tpl->tpl_vars['parent_val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['parent_val']->_loop = false;
 $_smarty_tpl->tpl_vars['parent_key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['classify_list']->value['list'][1]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['parent_val']->key => $_smarty_tpl->tpl_vars['parent_val']->value) {
$_smarty_tpl->tpl_vars['parent_val']->_loop = true;
 $_smarty_tpl->tpl_vars['parent_key']->value = $_smarty_tpl->tpl_vars['parent_val']->key;
?>
           <!--一级--> 
        <?php if ($_smarty_tpl->tpl_vars['parent_val']->value) {?>
        <p class="wjbh pt10"><label><strong><?php echo $_smarty_tpl->tpl_vars['classify_list']->value['all'][$_smarty_tpl->tpl_vars['parent_val']->value];?>
</strong></label></p>
        <?php }?>
        
        <!--是否有二级-->
        <?php  $_smarty_tpl->tpl_vars['second_val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['second_val']->_loop = false;
 $_smarty_tpl->tpl_vars['second_key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['classify_list']->value['list'][2]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['second_val']->key => $_smarty_tpl->tpl_vars['second_val']->value) {
$_smarty_tpl->tpl_vars['second_val']->_loop = true;
 $_smarty_tpl->tpl_vars['second_key']->value = $_smarty_tpl->tpl_vars['second_val']->key;
?>
            <?php if (isset($_smarty_tpl->tpl_vars['classify_list']->value['parent'][$_smarty_tpl->tpl_vars['parent_val']->value])&&(in_array($_smarty_tpl->tpl_vars['second_val']->value,$_smarty_tpl->tpl_vars['classify_list']->value['parent'][$_smarty_tpl->tpl_vars['parent_val']->value]))) {?>
            <p class="wjbh pt10"><label><strong><?php echo $_smarty_tpl->tpl_vars['classify_list']->value['all'][$_smarty_tpl->tpl_vars['second_val']->value];?>
</strong></label></p>
            <?php }?>
            <?php  $_smarty_tpl->tpl_vars['classify_val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['classify_val']->_loop = false;
 $_smarty_tpl->tpl_vars['classify_key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['classify_list']->value['list'][3]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['classify_val']->key => $_smarty_tpl->tpl_vars['classify_val']->value) {
$_smarty_tpl->tpl_vars['classify_val']->_loop = true;
 $_smarty_tpl->tpl_vars['classify_key']->value = $_smarty_tpl->tpl_vars['classify_val']->key;
?>
            <?php if (isset($_smarty_tpl->tpl_vars['classify_list']->value['parent'][$_smarty_tpl->tpl_vars['second_val']->value])&&(in_array($_smarty_tpl->tpl_vars['classify_val']->value,$_smarty_tpl->tpl_vars['classify_list']->value['parent'][$_smarty_tpl->tpl_vars['second_val']->value]))) {?>
        <div class="group" id="<?php echo $_smarty_tpl->tpl_vars['classify_val']->value;?>
" style="display:none;">
	<p class="wjbh pt10"><label><strong><?php echo $_smarty_tpl->tpl_vars['classify_list']->value['all'][$_smarty_tpl->tpl_vars['classify_val']->value];?>
</strong></label></p>
	<table width="100%" border="0" cellspacing="0">
	  <tr>
		<td width="40%"><strong>指标</strong></td>
		<td width="5%"><strong>标准分</strong></td>
                <td width="4%"><strong>得分</strong></td>
                <?php if (isset($_smarty_tpl->tpl_vars['classify_list']->value[$_smarty_tpl->tpl_vars['classify_val']->value])&&$_smarty_tpl->tpl_vars['classify_list']->value[$_smarty_tpl->tpl_vars['classify_val']->value]['option']) {?>
                <td width="5%"><strong>选项</strong></td>
                <td width="5%"><strong>选项值</strong></td>
                <?php }?>
		<td width="15%"><strong>情景描述</strong></td>
                <td width="4%"><strong>附件</strong></td>
                <?php if ($_smarty_tpl->tpl_vars['benchmark_list']->value) {?><td width="10%"><strong>还分申请</strong></td><?php }?>
                <?php if ($_smarty_tpl->tpl_vars['netquestion_info']->value['status']==1) {?><td width="7%"><strong><?php if ($_smarty_tpl->tpl_vars['level']->value==4) {?>申诉<?php } else { ?>操作<?php }?></strong></td><?php }?>
	  </tr>
          <?php if ($_smarty_tpl->tpl_vars['subject_list']->value[$_smarty_tpl->tpl_vars['classify_val']->value]) {?>
          <?php  $_smarty_tpl->tpl_vars['subject_val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['subject_val']->_loop = false;
 $_smarty_tpl->tpl_vars['subject_key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['subject_list']->value[$_smarty_tpl->tpl_vars['classify_val']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['subject_val']->key => $_smarty_tpl->tpl_vars['subject_val']->value) {
$_smarty_tpl->tpl_vars['subject_val']->_loop = true;
 $_smarty_tpl->tpl_vars['subject_key']->value = $_smarty_tpl->tpl_vars['subject_val']->key;
?>
            <!--只显示扣分的-->
	  <tr class="classify_<?php echo $_smarty_tpl->tpl_vars['classify_val']->value;?>
" data="<?php if ((is_numeric($_smarty_tpl->tpl_vars['subject_val']->value['standard_score']))&&isset($_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']])&&($_smarty_tpl->tpl_vars['subject_val']->value['standard_score']!=$_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['answer_score'])) {?>show<?php } else { ?>hide<?php }?>">
		<td><p><?php echo $_smarty_tpl->tpl_vars['subject_val']->value['question_num'];?>
<?php echo $_smarty_tpl->tpl_vars['subject_val']->value['title'];?>
</p><p><?php echo $_smarty_tpl->tpl_vars['subject_val']->value['content'];?>
</p></td>
		<td><?php if ($_smarty_tpl->tpl_vars['question_info']->value['show_score']) {?>
                    <?php if (is_number($_smarty_tpl->tpl_vars['subject_val']->value['standard_score'])) {?><?php echo number_format($_smarty_tpl->tpl_vars['subject_val']->value['standard_score'],1);?>
<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['subject_val']->value['standard_score'];?>
<?php }?>
                    <?php } else { ?>是
                    <?php }?></td>
                <td><span class="wjbh">
                        <?php if ($_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]) {?>
                            <?php if ($_smarty_tpl->tpl_vars['question_info']->value['show_score']) {?>
                                <?php if (is_number($_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['answer_score'])) {?>
                                <?php echo number_format($_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['answer_score'],1);?>

                                <?php } else { ?>
                                <?php echo $_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['answer_score'];?>

                                <?php }?>
                            <?php } else { ?>
                                <?php if ($_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['answer_score']==$_smarty_tpl->tpl_vars['subject_val']->value['standard_score']) {?>是<?php } else { ?>否<?php }?>
                            <?php }?>
                        <?php }?>
                    </span></td>
                <?php if (isset($_smarty_tpl->tpl_vars['classify_list']->value[$_smarty_tpl->tpl_vars['classify_val']->value])&&$_smarty_tpl->tpl_vars['classify_list']->value[$_smarty_tpl->tpl_vars['classify_val']->value]['option']) {?><!--判断是否显示-->
                    <td>
                        <?php if ($_smarty_tpl->tpl_vars['option_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]) {?>
                        <?php  $_smarty_tpl->tpl_vars['option_val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['option_val']->_loop = false;
 $_smarty_tpl->tpl_vars['option_key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['option_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['option_val']->key => $_smarty_tpl->tpl_vars['option_val']->value) {
$_smarty_tpl->tpl_vars['option_val']->_loop = true;
 $_smarty_tpl->tpl_vars['option_key']->value = $_smarty_tpl->tpl_vars['option_val']->key;
?>
                            <?php echo $_smarty_tpl->tpl_vars['option_key']->value;?>
:<?php echo $_smarty_tpl->tpl_vars['option_val']->value;?>
<br/>
                        <?php } ?>
                        <?php }?>
                    </td>
                    <td><?php if ($_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]) {?><?php echo $_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['answer_option'];?>
<?php }?></td>
                <?php }?>
		<td><?php if ($_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]) {?><?php echo $_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['answer_desc'];?>
<?php }?></td>
                <td>
                    <?php if ($_smarty_tpl->tpl_vars['attach_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]) {?>
                    <a href="/benchmark/attach?nq_id=<?php echo $_smarty_tpl->tpl_vars['nq_id']->value;?>
&subject_id=<?php echo $_smarty_tpl->tpl_vars['subject_val']->value['subject_id'];?>
" target="_blank" >附件</a>
                    <?php }?>
                </td>
                  <?php if ($_smarty_tpl->tpl_vars['benchmark_list']->value) {?>
                 <td>
                   <?php echo $_smarty_tpl->tpl_vars['benchmark_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['suggestion'];?>

                 </td>
		 <?php }?>
                 <?php if ($_smarty_tpl->tpl_vars['netquestion_info']->value['status']==1) {?>
                <td id="go<?php echo $_smarty_tpl->tpl_vars['subject_val']->value['subject_id'];?>
">
                    <?php if (count($_smarty_tpl->tpl_vars['benchmark_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']])||count($_smarty_tpl->tpl_vars['manage_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']])) {?><a href="javascript:void(0);" onclick="history(<?php echo $_smarty_tpl->tpl_vars['netquestion_info']->value['nq_id'];?>
,<?php echo $_smarty_tpl->tpl_vars['subject_val']->value['subject_id'];?>
);return false;">历史</a> <?php }?>
                    <!--如果是本级,如果已经申请过，不再显示-->
                    <?php if (($_smarty_tpl->tpl_vars['netquestion_info']->value['node_id']==0&&$_smarty_tpl->tpl_vars['level']->value==4)||($_smarty_tpl->tpl_vars['netquestion_info']->value['node_id']>=$_smarty_tpl->tpl_vars['level']->value&&$_smarty_tpl->tpl_vars['level']->value==4)) {?>
                    <!--没有扣分指标的不现实申诉-->
                    <?php if ((is_numeric($_smarty_tpl->tpl_vars['subject_val']->value['standard_score']))&&isset($_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']])&&($_smarty_tpl->tpl_vars['subject_val']->value['standard_score']!=$_smarty_tpl->tpl_vars['answer_list']->value[$_smarty_tpl->tpl_vars['subject_val']->value['subject_id']]['answer_score'])) {?>
                    <a href="#go<?php echo $_smarty_tpl->tpl_vars['subject_val']->value['subject_id'];?>
"  name="go<?php echo $_smarty_tpl->tpl_vars['subject_val']->value['subject_id'];?>
" onclick="shenqing(<?php echo $_smarty_tpl->tpl_vars['netquestion_info']->value['nq_id'];?>
,<?php echo $_smarty_tpl->tpl_vars['subject_val']->value['subject_id'];?>
);return false;">申诉</a>
                    <?php }?>
                    <?php }?>
                    <!--如果是上级,不是自己的问卷，并且有过还分申请-->
                    <?php if (($_smarty_tpl->tpl_vars['netquestion_info']->value['node_id']==0||($_smarty_tpl->tpl_vars['netquestion_info']->value['node_id']>=$_smarty_tpl->tpl_vars['level']->value))&&$_smarty_tpl->tpl_vars['netquestion_info']->value['status']==1&&$_smarty_tpl->tpl_vars['level']->value!=4) {?>
                    <a href="javascript:void(0);" onclick="suggest(<?php echo $_smarty_tpl->tpl_vars['netquestion_info']->value['nq_id'];?>
,<?php echo $_smarty_tpl->tpl_vars['subject_val']->value['subject_id'];?>
);return false;">操作</a>
                    <?php }?>
                </td>
                <?php }?>
                
	  </tr>
            
          <?php } ?>
          <?php }?>
	</table>
        </div>
        <?php }?>
        <?php } ?>
        <?php } ?>
        <?php } ?>
	</table>
  </div>
</div>
<!--直接设置本问卷状态-->
<?php if (($_smarty_tpl->tpl_vars['netquestion_info']->value['node_id']==0||$_smarty_tpl->tpl_vars['netquestion_info']->value['node_id']>=$_smarty_tpl->tpl_vars['level']->value)&&$_smarty_tpl->tpl_vars['netquestion_info']->value['status']==1) {?>
<form name="form2" method="post" id="myForm1" action="/benchmark/SetAudit">
<div class="fudong">
    <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['level_auth']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
    <?php if ($_smarty_tpl->tpl_vars['level']->value==4) {?>
    <input type="hidden" name="audit" value="<?php echo $_smarty_tpl->tpl_vars['val']->value;?>
" /><br/>
    <?php } else { ?>
    <input type="radio" name='audit' value='<?php echo $_smarty_tpl->tpl_vars['val']->value;?>
' <?php if ($_smarty_tpl->tpl_vars['netquestion_info']->value['audit']==$_smarty_tpl->tpl_vars['val']->value) {?>checked="checked"<?php }?>><?php echo $_smarty_tpl->tpl_vars['audit']->value[$_smarty_tpl->tpl_vars['val']->value];?>
<br/>
    <?php }?>
    <?php } ?>
    <input type="hidden" name="nq_id[]" value="<?php echo $_smarty_tpl->tpl_vars['nq_id']->value;?>
" />
    <input type="submit" class="button" value="提交问卷"/>
</div>
</form>
<?php }?>
<script type="text/javascript">
$(function(){
    //判断分组下是否有扣分项，如果没有将此分组隐藏,默认只显示扣分指标
    show_koufen();
    //提交问卷
    var options = {         
        beforeSubmit:  showRequest,  
        success:       showResponse,
        dataType:  'json'
    }
    $('#myForm1').ajaxForm(options); 
    
    <?php if (!$_smarty_tpl->tpl_vars['subject_id']->value) {?>
    //提示
    layer.msg('请您选择观看扣分指标或观看全部指标', 2,-1);
    <?php }?>
    
    //刷新定位
    <?php if ($_smarty_tpl->tpl_vars['subject_id']->value) {?>
    var pos = $('#go<?php echo $_smarty_tpl->tpl_vars['subject_id']->value;?>
').offset().top;
    $('html,body').animate({scrollTop:pos}, 500);
    <?php }?>
    
    
    
})
function showRequest(formData, jqForm, options) { 
    thisPage=true;
   <?php if ($_smarty_tpl->tpl_vars['level']->value!=4) {?>
    var val=$('input:radio[name="audit"]:checked').val();
    if(val==null){
        alert("请先选择!");
        return false;
    }
    <?php }?>
    <?php if (!$_smarty_tpl->tpl_vars['is_submit']->value) {?>
    if (confirm('提示：请确认您所填写的信息，一旦提交将不可再次编辑！')) {
        return true;
    } else {
        return false;
    }
    <?php }?>
    return true;
}
//提交成功关闭本页面，刷新来源页
function showResponse(responseText, statusText, xhr, $form)  { 
    alert(responseText.note);
    if (responseText.status==1) {
        window.thisPage = false;
        self.opener.location.reload();
        window.close();
    }
}

//显示所有指标
function show_all(){
    $('.group').each(function(i){
        var classify_id = $(this).attr('id');
        //每个分类下问题处理
        $('.classify_'+classify_id).each(function(i){
                $(this).show();
        })
        $(this).show();
    });
}
//只显示扣分指标
function show_koufen(){
    $('.group').hide();
    $('.group').each(function(i){
        var classify_show = false;
        var classify_id = $(this).attr('id');
        //每个分类下问题处理
        $('.classify_'+classify_id).each(function(i){
            var data = $(this).attr('data');
            if (data == 'hide') {
                $(this).hide();
            }
            //如果有show状态的，这个classify就显示,默认不显示
            if (data == 'show') {
                classify_show = true;
            }
        })
        if (classify_show) {
            $(this).show();
        }
    });
}
//问题对标的历史
function history(nq_id, subject_id){
    $.layer({
        type: 2, 
        title: '网点对标历史记录',
        border:[10, 0.3, '#000'],
        closeBtn:[0, true],
        shade: [0.5, '#000'],
        offset: ['100px', ''],
        area: ['800px', '450px'],
        iframe: {src: '/benchmark/history?nq_id='+nq_id+'&subject_id='+subject_id}
    });
}
//还分申请
function shenqing(nq_id,subject_id,qb_id){
    $.layer({
        type: 2,
        title: '对标内容',
        closeBtn: [0, true],
        shade: [0.5, '#000'],
        border:[10, 0.3, '#000'],
        offset: ['100px',''],
        area: ['550px', '450px'],
        iframe: {src: '/benchmark/duibiao?nq_id='+nq_id+'&subject_id='+subject_id}
    });   
}
//上级网点给出意见
function suggest(nq_id,subject_id){
    $.layer({
        type: 2,
        title: '审核意见',
        closeBtn: [0, true],
        shade: [0.5, '#000'],
        border:[10, 0.3, '#000'],
        offset: ['100px',''],
        area: ['500px', '400px'],
        iframe: {src: '/benchmark/suggest?nq_id='+nq_id+'&subject_id='+subject_id}
    });   
}
</script>
<h2 class="wjtit" style="text-align: center;">温馨提示：完成全部指标复议，或者对指标无异议后，请务必点右侧【提交问卷】，否则申诉无效！</h2>
<?php echo $_smarty_tpl->getSubTemplate ("../common/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
